<!DOCTYPE html>
<html>
<!-- 字段权限 -->
<head>
	<meta charset="UTF-8">
	<title>Insert title here</title>
	<script src="../../../scripts/boot.js" type="text/javascript"></script>
	<style type="text/css">
		html, body {
			margin: 0;
			padding: 0;
			border: 0;
			width: 100%;
			height: 100%;
			overflow: hidden;
		}
		.mini-mask-msg {
		   cursor: no-drop !important;
		}
	</style>
</head>
<body>
	<div class="mini-toolbar">
		<a class="mini-button" iconCls="icon-edit" enabled="true"
			onclick="update()" id="but_update">修改</a> <span class="separator"></span>
		<a class="mini-button" iconCls="icon-save" enabled="false"
			onclick="save()" id="but_save">保存</a> <span class="separator"></span>
		<a class="mini-button" iconCls="icon-no" enabled="false"
			onclick="abandon()" id="but_abandon">放弃</a>
	</div>
	<div class="mini-splitter" style="width: 100%;" id="sp"
		onresize="resize" oncollapse="resize" onexpand="resize">

		<div size="30%" showCollapseButton="true">
			<div id="datagrid1" class="mini-datagrid"
				onselectionchanged="onSelectionChanged"
				style="width: 100%; height: 94vh;" allowCellSelect="true"
				multiSelect="false" showFilterRow="true" showPager=“false”
				idField="roleId">
				<div property="columns">
					<!--<div type="indexcolumn"></div>        -->
					<div type="checkcolumn"></div>
					<div field="roleId" width="120" headerAlign="center"
						visible="false" allowSort="true">角色ID</div>
					<div field="roleCode" width="120" headerAlign="center"
						allowSort="true">
						角色编码 <input id="rcFilter" property="filter" class="mini-textbox"
							style="width: 100%;" onvaluechanged="onFilterChanged" />
					</div>
					<div field="roleName" width="120" headerAlign="center"
						allowSort="true">
						角色名称 <input id="rnFilter" property="filter" class="mini-textbox"
							style="width: 100%;" onvaluechanged="onFilterChanged" />
					</div>
					<div field="roleDescribe" width="120" headerAlign="center"
						allowSort="true">
						角色说明 <input id="rdFilter" property="filter" class="mini-textbox"
							style="width: 100%;" onvaluechanged="onFilterChanged" />
					</div>
				</div>
			</div>
		</div>
		<div showCollapseButton="true">
			<div id="treegrid1" class="mini-treegrid"
				style="width: 100%; height: 100%;" treeColumn="name" idField="id" parentField="pid"
				resultAsTree="false" allowResize="true" expandOnLoad="false"
				showTreeIcon="true" allowSelect="false"
				allowCellSelect="false" enableHotTrack="false"
				ondrawcell="ondrawcell" showCheckBox="true" checkRecursive="false"
			>
				<div property="columns">
					<div type="indexcolumn"></div>
					<div field="name" name="name" width="220">模块名称/菜单名称</div>
					<!--<div field="fileCH" width="100%">字段权限</div>-->
					<!--<div field="dataAuth" width="100%">数据权限</div>-->
				</div>
			</div>
		</div>
	</div>
	<script src="../js/ColumnsMenu.js"></script>
	<script src="../js/AuthManageData.js" type="text/javascript"></script>
</body>
</html>